package com.team.mp.api.service.intf;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.mp.mapper.dto.DoctorListDto;
import com.team.mp.mapper.entity.Doctor;
import com.team.mp.vo.R;
import org.apache.ibatis.annotations.Param;

/**
 * 千锋郑州Java学科欢迎你
 * @program: Tproject
 * @description: 业务接口层
 * @author: xiaopi
 * @create: 2023-03-27 11:47:49
 */
public interface DoctorService {
    /**
    * 新增内容*/
    R save(Doctor doctor);
    /**
    * 修改内容*/
    R update(Doctor doctor);
    /**
    *删除 */
    R del(long id);
    /**
    * 查询详情*/
    R queryById(long id);
    /**
    * 查询 所有数据*/
    R queryAll();

    R listByCond(Integer page,Integer size,
                 Integer partId, Integer teamId);
}
